package com.community.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.community.dao.UserDao;
import com.community.entity.User;
import com.community.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * (User)表服务实现类
 *
 * @author makejava
 * @since 2021-09-26 12:37:12
 */
@Service("userService")
public class UserServiceImpl extends ServiceImpl<UserDao, User> implements UserService {
    @Resource
    UserDao userDao;

    public User getUserAndRoleByAccount(String account) {
        return userDao.getUserAndRoleByAccount(account);
    }
}

